<table cellpadding="0" cellspacing="0" border="0" width="100%">
	<tr>
		<td  width="100%">
			<table cellpadding="0" cellspacing="0" border="0" width="66%">
				<tr>
					<td align="left" width="25%" style="padding-right:3px;"><input type="text" style="width:100%;"  class="grey" value="Ключевое слово" onfocus="value=''"/></td>
					<td width="25%" style="padding-left:5px;">
						<select  style="width:100%; height:19px;" class="grey">
							<option>По отелям</option>
							<option>2</option>
							<option>3</option>
						</select>
					</td>
					<td width="25%" style="padding-left:5px;">
						<select  style="width:100%; height:19px;"  class="grey">
							<option>Турция</option>
							<option>Египет</option>
							<option>Тайланд</option>
						</select>
					</td>
					<td width="25%" style="padding-left:5px;">
						<select  style="width:100%; height:19px;"  class="grey">
							<option>Хургада</option>
							<option>Шарм</option>
							<option>Таба</option>
						</select>
					</td>
					<td align="right" style="padding-left:5px;"><input type="button" value="Найти" class="but" height="15px"></td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td style="padding-top:10px;"><a class="grey">Отзывы требующие модерации</a></td>
	</tr>
	<!--<tr>
		<td style="padding-top:10px;"><a class="grey6" style="font-weight:bold;">По имени</a>&nbsp;&nbsp;&nbsp;<a href="#" class="grey6">По видео</a>&nbsp;&nbsp;&nbsp;<a href="#" class="grey6">По фото</a>&nbsp;&nbsp;&nbsp;<a href="#" class="grey6">По отзывам</a></td>
	</tr>-->
	<tr>
		<td width="100%" style="padding-top:10px;">
			<table  cellpadding="0" cellspacing="0" border="0" width="100%">
				{if count($Feedbacks) == 0}
				<tr style="font-weight: bold;">
					<td colspan="2" align="center">
						<a class="red">Нет отзывов требующих модерации</a>
					</td>
				</tr>
				{/if}
				{foreach from=$Feedbacks item=Feedback}
				{assign var=TC value=$Feedback->country_id}
				{assign var=TR value=$Feedback->resort_id}
				{assign var=TH value=$Feedback->hotel_id}
				<tr>
					<td width="100%" align="left" style="padding-right:10px;">
						<table cellpadding="0" cellspacing="0" border="0" width="100%">
							<tr>
								<td valign="top">
									<table cellpadding="0" cellspacing="2" width="100%" border="0">
										<tr>
											<td colspan="2"><a class="grey5" style="font-weight:bold;">Дата отдыха</a> <a class="red" style="font-weight:bold;">с {$Feedback->date_from|date_format:"%d-%m-%Y"} по {$Feedback->date_to|date_format:"%d-%m-%Y"}</a> <a class="grey5" style="font-weight:bold;">Автор</a> <a class="a_menu_non">{$Feedback->getDictionary('full_name', 'tv_users', 'user_id', 'id')} ({$Feedback->getDictionary('login', 'tv_users', 'user_id', 'id')})</a></td>
										</tr>
										<tr>
											<td style="padding-top:10px;" width="80px" valign="top">
												<a class="grey5" style="font-weight:bold;">Страна:<br/>Курорт:<br/>Отель:<br>Текст&nbsp;отзыва:<br></a>
											</td>
											<td style="padding-top:10px;" valign="top">
												<a class="grey5">{$TurtessCountry.$TC}<br>{$TurtessResort.$TR}<br>{$TurtessHotel.$TH}<br>{$Feedback->text|truncate:100}</a>
											</td>
										</tr>
									</table>
								</td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td colspan="2" align="right">
							<a href=/feedback/moderate/?id={$Feedback->getPk()} class="red">Просмотреть отзыв</a>
						{if $Feedback->is_show < 3}
							<a href=/feedback/publish/?id={$Feedback->getPk()} class="red">Опубликовать отзыв</a>
						{/if}
					</td>
				</tr>
				<tr>
					<td colspan="2"><hr></td>
				</tr>
				{/foreach}
			</table>
		</td>
	</tr>
</table>